package edu.kjxy.demo0308;

import java.util.Scanner;

public class demo04c {

	public static void main(String[] args) {
		System.out.println("请输入一个字符串1-7：");
		
		Scanner in = new Scanner(System.in);
		String day = in.nextLine();
		in.close();

		switch(day)
		{
			case "Mon", "Tue", "Wed", "Thur", "Fri" -> {
			System.out.println("工作日, 很伤心");
			System.out.println("必须要坚持");
			}
			case "Sat", "Sun" -> {
			System.out.println("休息日，很Happy");
			System.out.println("去爬山");
			}
			default -> System.out.println("输入错误！");
		}
	}

}
